﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Clarendon.AzureBilling.Library
{
    /// <summary>
    /// Class is used to send event args back to the client following the raising of an event
    /// </summary>
    public class AzureResponseEventArgs : EventArgs
    {
        private readonly List<HostedService> _hostedServices;

        /// <summary>
        /// Hosted services property used by the client
        /// </summary>
        public List<HostedService> HostedServices
        {
            get { return _hostedServices; }
        } 
        /// <summary>
        /// Default constructor used to pass the hosted services back to the client
        /// </summary>
        public AzureResponseEventArgs(List<HostedService> services)
        {
            _hostedServices = services;
        }
    }
}
